/*
 * @Author: maomao
 * @Date: 2021-04-19 09:44:39
 * @Description: 
 * @FilePath: \his-dictionary-web\src\utils\menu.ts
 */
import { ApiTool } from '../api/api-tool';

import {navigationList} from '../app-navigation';

/** 全局菜单项 */
export default class Menu {

    private navigation = null;

    constructor() {
        this.navigation = navigationList;
    }

    /**获取导航菜单 */
    getNavigation() {
        return this.navigation;
    }

    /**刷新菜单 */
    async freshMenu(apiTool: ApiTool) {
        // await apiTool.request();
        // let client = apiTool.createClient(LoginClient);
        // let result = await client.menu();
        // this.navigation = result.data;
    }
}